﻿<%@ Page Title="Twoje ubezpieczenia" Language="C#" MasterPageFile="~/Sites/Insurances/InsurancesMaster.master" AutoEventWireup="true" CodeBehind="ListInsurances.aspx.cs" Inherits="BankSite.Sites.Insurances.Insurances" %>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1><%: Title %>.</h1>
                <h2>Lista Twoich ubezpieczeń.</h2>
            </hgroup>
        </div>
    </section>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" runat="server">
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" DataSourceID="AccountDataSource">
            <Columns>
                <asp:CommandField ShowSelectButton="True"></asp:CommandField>
            </Columns>
        </asp:GridView>
        <asp:EntityDataSource runat="server" ID="AccountDataSource" DefaultContainerName="BankBaseEntities" ConnectionString="name=BankBaseEntities" EnableFlattening="False" EntitySetName="getUbezpieczenia"></asp:EntityDataSource>
        <asp:QueryExtender ID="DepositForClientFilter" runat="server" TargetControlID="AccountDataSource">
             
            <asp:RangeExpression MaxType="Inclusive" MinType="Inclusive" DataField="id">
                   <asp:SessionParameter SessionField="ClientID" />
                   <asp:SessionParameter SessionField="ClientID" />
              
            </asp:RangeExpression>
            
        </asp:QueryExtender>
        
</asp:Content>
